import type { App } from 'vue'
import setUpQuery from './query'
import toFixed from './toFixed'
import echarts from './echarts'
import version from './version'
import './svg-icon'

import { setUpPinia } from './store'

export default function setupPlugins(app: App) {
  app.use(echarts)

  setUpQuery(app)

  setUpPinia(app)

  app.use(toFixed)

  app.use(version)
}
